footer {
    flex: none; /* 2 See iolMain.css */
    position: relative;
   /* z-index: 4;*/
    background: #3C3636;
    min-height: 7em;
    overflow: hidden;
    width:100%;
}

#frame {
    border-bottom-style: solid;
    border-width: 1px;
    border-color: #545454;
    padding-bottom: 1em;

    max-width: 45em;
    display: flex;
    justify-content: center;
    /*align-items: center;*/
}

footer div {
    margin: 1em auto;
}

footer div div {
    margin: 0;
}

#left {
    padding: 0;
    overflow: hidden;
}

#inner-left {
    float: right;
}

#middle {
    text-align: center;
    padding: 0;
}

#inner-middle a h4 {
    text-align: center;
}

#right {
    padding: 0;
    overflow: hidden;
}

#inner-right {
    float: left;
}

footer h4 {
    font-size: 1.1em;
    margin: 0;
    text-align: left;
}

footer a {
    margin: 0.5em 2em 0em;
    display: inline-block;
    color: #feffe7;
}

footer a:hover, footer a:visited, footer a:active {
    color: #d7e0dc;
    text-decoration: none;
}

#hi-watermark {
    position: absolute;
    float: right;
    max-height: 6em;
    margin-right: 2em;
    padding: 0.2em;
    opacity: 0.4;

    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

#other-watermark {
    position: absolute;
    float: left;
    max-height: 6em;
    margin-left: 2em;
    padding: 0.2em;
    opacity: 0.4;

    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

#copyright {
    color: #c3c3c3;
    text-align: center;
    margin-top: 0;
}

#copyright a {
    margin: 0;
}

#find-us-on-facebook {
    height: 24px;
    margin: 0 auto;
}

/*@media (max-width: 1427px) {*/
    /*footer a {*/
        /*display: block;*/
    /*}*/
/*}*/

@media (max-width: 992px) {
    footer a {
        margin: 0.5em 1em 0em;
    }
}

@media (max-width: 888px) {
    #frame {
        border-bottom-style: none;
    }
}

@media (max-width: 767px) {

    /*#hi-watermark {*/
        /*max-height: 4.5em;*/
        /*top: 32%;*/
    /*}*/

    footer a {
        display: block;
    }
}

@media (max-width: 600px) {

    footer { z-index: 4; }
    footer a { display: block; }

    #frame {
        padding-left: 0;
    }

    #left, #middle, #right {
        width: 100%;
    }

    #inner-left, #inner-right {
        float: none;
    }

    #inner-middle a h4 {
        text-align: left;
    }

    #hi-watermark {
        max-height: 6em;
        /*top: 40%;*/
    }


    #left {
        display: flex;
        justify-content: center;
    }

    #right {
        float: left;
    }

}

@media (max-width: 500px) {
    footer .col-xs-6 {
        width: 100%;
    }

    #frame {
        display: block;
    }

    #left {
        display: block;
    }

    #copyright {
        margin-top: 2em;
    }

    #hi-watermark {
        max-height: 5.25em;
        top: 36%;
    }

    #other-watermark {
        right: 110px;
        max-height: 5em;
        left: initial;
        top: 36%;

    }
}

